package com.example.lib_patrol

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class PatrolAdapter :BaseQuickAdapter<PatrolEntity,BaseViewHolder>(R.layout.item_patrol) {
    override fun convert(holder: BaseViewHolder, item: PatrolEntity) {
        holder.setText(R.id.item_startDate,item.mStart);
        holder.setText(R.id.item_end_date,item.mEnd);
    }
}